# -*- coding:utf-8 -*-
# @FileName  :pg_op.py
# @Time      :2024/2/4 15:36
from spider.pg_utils.pg_connect import get_connect


def create_table_test():
    conn, cur = get_connect()
    cur.execute("CREATE TABLE test (id serial PRIMARY KEY, num integer, data varchar);")
    conn.commit()
    conn.close()


if __name__ == '__main__':
    create_table_test()
